package fmi.chesstern.pieces.strategy;

import java.util.HashSet;
import java.util.Set;

import fmi.chesstern.game.BoardField;
import fmi.chesstern.game.GameBoardState;

public class QueenStrategy implements ChessPieceStrategy {
	public Set<BoardField> getValidNewPositions(GameBoardState board, BoardField currentPosition) {
		Set<BoardField> result = new HashSet<BoardField>();
		
		result.addAll(new RookStrategy().getValidNewPositions(board, currentPosition));
		result.addAll(new BishopStrategy().getValidNewPositions(board, currentPosition));
		
		return result;
	}
}
